Maps value of a Some to a new Option using transform or returns the same None.
Option returned by transform or this object if this is a None.
Function transforming value of a Some to an Option.